//
//  DescriptionTableViewCell.m
//  CommunitySupermarketProiect
//
//  Created by 吕惠卿 on 2017/11/21.
//  Copyright © 2017年 吕惠卿. All rights reserved.
//

#import "DescriptionTableViewCell.h"

@implementation DescriptionTableViewCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self creatUI];
    }
    return self;
}

-(void)creatUI{
    _titleLab = [[UILabel alloc]init];
    _titleLab.text = @"三大开大觉得好久断绝德哈卡家的卡好的哈和大家啊看到";
    _titleLab.font = [UIFont fontWithName:@"STHeitiSC-Light" size:13.0];
    [self addSubview:_titleLab];
    [_titleLab mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.mas_left).with.offset(10);
        make.right.equalTo(self.mas_right).with.offset(-10);
        make.top.equalTo(self.mas_top).with.offset(10);
        make.height.mas_equalTo(50);
        
    }];
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
